<template>
  <div>
    <swiper>
      <swiperitem v-for="(item, index) in banners" :key="index">
        <a :href="item.link">
          <img :src="item.image" alt="" />
        </a>
      </swiperitem>
    </swiper>
  </div>
</template>
<script>
import swiper from "@/components/common/swiper/Swiper";
import swiperitem from "@/components/common/swiper/SwiperItem";
export default {
  data() {
    return {};
  },
  components: {
    swiper,
    swiperitem,
  },
  props: {
    banners: [],
  },
};
</script>